<template>
  <div>
    <c-button type="success" @click="handleEvent">打开</c-button>
    <c-dialog v-model="show">
      <div style="width: 100%; height: 200px">hello</div>
    </c-dialog>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'

const show = ref(false)
const handleEvent = () => {
  show.value = true
}
</script>

<style scoped lang="scss"></style>
